html,
body {
  height: 100%;
}

body {
  background-color: #fafafb;
}

ul,
ol {
  padding: 0;
}

body,
header {
  transition: background-color .5s;
}

header {
  height: 60px;
  line-height: 60px;
  border-bottom: 1px solid transparent;
  color: #333;
}

footer {
  padding: 20px 0;
}

.navbar-brand {
  font-size: 24px;
}

.navbar-brand:hover .logo-wrap {
  box-shadow: 0 4px 18px 3px rgba(0, 0, 0, 0.1);
}

.logo-wrap {
  display: inline-block;
  position: relative;
  float: left;
  width: 42px;
  height: 42px;
  margin-top: 9px;
  margin-right: 10px;
  text-align: center;
  border-radius: 100%;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
  transition: box-shadow .3s ease-in-out;
}

.logo {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 4px;
  margin-top: -2px;
  margin-left: -12px;
  background: #ffa200;
  transform: rotateZ(45deg);
}

.logo:before, .logo:after {
  content: '';
  display: block;
  position: absolute;
  top: -10px;
  left: 8px;
  width: 8px;
  height: 4px;
  background: #ffa200;
}

.logo:after {
  top: 10px;
}

.sidebar {
  padding-top: 32px;
  padding-bottom: 32px;
}

.sidebar > ul {
  position: sticky;
  position: -webkit-sticky;
  top: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar > ul > li + li {
  margin-top: 2px;
}

.sidebar > ul > li {
  position: relative;
  display: block;
}

.sidebar > ul > li > a {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 16px;
  color: #555;
}

.sidebar > ul > li > a:hover, .sidebar > ul > li > a:focus, .sidebar > ul > li > a:active {
  text-decoration: none;
  background-color: #eee;
}

.content > section {
  padding: 15px;
  margin: 15px 0;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 10px -7px rgba(87, 53, 117, 0.13), 0 10px 30px -6px rgba(0, 60, 170, 0.1);
}

.content > section > h2 {
  padding-bottom: 20px;
  margin-top: 10px;
  border-bottom: 1px solid #f1f1f1;
}

.example > .btn,
.example > .btns {
  margin-top: 5px;
  margin-bottom: 5px;
}

.grid-box {
  margin: 10px 0;
  text-align: center;
  background-color: #ffeeed;
  line-height: 2;
  border: 1px solid #ffb7b5;
  border-radius: 3px;
}

.grid-box:hover {
  background-color: #fbe2e1;
}

.palette {
  border-radius: 4px;
  min-height: 100px;
  margin-bottom: 15px;
  padding: 10px;
  color: #fff;
  font-weight: bold;
}

.palette small {
  color: #fff;
}

.com {
  color: #93a1a1;
}

.lit {
  color: #195f91;
}

.pun,
.opn,
.clo {
  color: #93a1a1;
}

.fun {
  color: #dc322f;
}

.str,
.atv {
  color: #D14;
}

.kwd,
.linenums .tag {
  color: #1e347b;
}

.typ,
.atn,
.dec,
.var {
  color: teal;
}

.pln {
  color: #48484c;
}

.prettyprint {
  padding: 8px;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
}

.prettyprint.linenums {
  box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
}

/* Specify class=linenums on a pre to get line numbering */
ol.linenums {
  margin: 0 0 0 33px;
  /* IE indents via margin-left */
}

ol.linenums li {
  padding-left: 12px;
  color: #bebec5;
  line-height: 18px;
  text-shadow: 0 1px 0 #fff;
}

.theme-dark header {
  background-color: #262626;
  border-color: #2d2d2d;
  color: #fff;
}

.theme-dark footer {
  background-color: #262626;
  border-color: #2d2d2d;
  color: #fff;
}

.theme-dark .content > section {
  background-color: transparent;
  box-shadow: none;
}

.theme-dark .content > section h2 {
  border-bottom-color: #2d2d2d;
}

.theme-dark .grid-box {
  background-color: #313131;
  border-color: #424242;
  color: #eee;
}

.theme-dark .grid-box:hover {
  background-color: #2d2d2d;
}

.theme-dark .sidebar > ul > li > a:hover {
  background-color: #191919;
}

.theme-dark .com {
  color: #666;
}

.theme-dark .lit {
  color: #195f91;
}

.theme-dark .pun,
.theme-dark .opn,
.theme-dark .clo {
  color: #fff;
}

.theme-dark .fun {
  color: #dc322f;
}

.theme-dark .str,
.theme-dark .atv {
  color: #96b38a;
}

.theme-dark .kwd,
.theme-dark .linenums .tag {
  color: #a7925a;
}

.theme-dark .typ,
.theme-dark .atn,
.theme-dark .dec,
.theme-dark .var {
  color: #ddca7e;
}

.theme-dark .pln {
  color: #fff;
}

.theme-dark .prettyprint {
  background-color: #1f1f1f;
  border: 1px solid #313131;
}

.theme-dark .prettyprint.linenums {
  box-shadow: inset 40px 0 0 #292929, inset 41px 0 0 #313131;
}

.theme-dark ol.linenums li {
  text-shadow: none;
}
